Auto merge of #5039 - lawliet89:docopt-bounds, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 14 Feb 2018 06:13:12 +0000 (06:13 +0000)
committerbors <bors@rust-lang.org>
Wed, 14 Feb 2018 06:13:12 +0000 (06:13 +0000)
commitd0ca5bcd6b1cfacf5f92a2fd7b99f0807b4b3407
tree536efc2e57519402760b6ff26cfa9d9ff2824f0f
parent5891aecf37c6a19893ec1b542079db4b4d5b368e
parent7e92513debcf0c62999206e3675493470c4b4ead
Auto merge of #5039 - lawliet89:docopt-bounds, r=alexcrichton

Fix DocOpt deserialization type bounds

This is wrt https://github.com/docopt/docopt.rs/pull/222

DocOpt does not support deserializing borrowed types.

This change was reverted in
https://github.com/docopt/docopt.rs/commit/7292a374e69afb192bb7aaa00f9d9f4afebc200d
because it broke crates like Cargo etc.